﻿////#define _CRT_SECURE_NO_WARNINGS
////// test.cpp
////#include"Stack.h"
////// 全局定义了⼀份单独的Stack
////typedef struct Stack
////{
////	int a[10];
////	char c;
////	short b;
////	int top;
////}ST;
////void STInit(ST* ps) {}
////void STPush(ST* ps, int x) {}
////int main()
////{
////
////	//调用全局的栈
////	ST s;
////	STInit(&s);
////	STPush(&s, 1);
////	STPush(&s, 2);
////	printf("%d\n", sizeof(s));
////	//调用czy命名空间的栈
////	czy::ST s1;
////	czy::STInit(&s1,8);
////	czy::STPush(&s1, 1);
////	czy::STPush(&s1, 2);
////	printf("%d\n", sizeof(s1));
////	return 0;
////}
//#include <iostream>
//using namespace std;
//int main()
//{
//	int a = 10;
//	int& b = a;
//	int c = 20;
//	// 这⾥并⾮让b引⽤c，因为C++引⽤不能改变指向，
//	// 这⾥是⼀个赋值
//	b = c;
//	cout << &a << endl;
//	cout << &b << endl;
//	cout << &c << endl;
//	return 0;
//}
// 
// 
// 
//cpp
#include <stdio.h>
int main()
{
	void* c = NULL;
	int* a = c;
	return 0;
}